package com.jdrx.sw.sewage.dao;

import com.jdrx.sw.sewage.beans.entity.FactoryPO;
import com.jdrx.sw.sewage.beans.vo.FactoryVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


/**
 * 物料DAO（sewage_materiel）
 * Created by generator on 2020-10-12.
 */
@Mapper
public interface FactoryDAO {
    int insert(FactoryPO record);

    List<String> selectNameList();

    List<FactoryPO> selectList();

    FactoryVO selectByName(String name);

    Long selectNextId();
}